package com.zsrt.java.day20161223.cg.homework.switchtest;
/**>=90��
>=80��
>=70����
else ������
*/

import java.util.Scanner;

import org.junit.Test;

public class SwitchTest01 {
	@Test
	public void switchTest(){
		Scanner sc = new Scanner(System.in);
		System.out.println("������һ��һ�����ڣ�����100������");
		int score = sc.nextInt();
		sc.close();
		int fg = score/10;
		
		switch(fg){
		case 10: System.out.println("�ɼ�Ϊ��");  break;
		case 9: System.out.println("�ɼ�Ϊ��");  break;
		case 8: System.out.println("�ɼ�Ϊ��");  break;
		case 7: System.out.println("�ɼ�����");  break;
		default: System.out.println("�ɼ�������");
		}
	}
	
}
